<?php
class TestAjax extends CI_Controller{
    public function click(){
        $this->load->view('vClick');
    }
    public function get(){
        $this->load->view('vGet');
    }
    public function post(){
        $this->load->view('vPost');
    }
    public function postResult(){
        var_dump($_POST);
    }
    public function getForm(){
    	$this->load->view('vForm');
    }
    public function formSubmit(){
        $ajax = ajax();
        $ajax->divResponse="Champs soumis : ".print_r($_POST,1);
        
    }
}
?>